package com.onlinesshop.mall.pojo;

import java.io.Serializable;

/**
 *  支付信息表
 */
public class PayInfo implements Serializable {
    private int id;       //主键 id
    private int user_id;  //用户表
    private String order_num;     //支付流水号
    private int pay_platform;     //支付平台
    private int pay_status;     //支付状态 1-支付成功 2-支付失败
    private String create_time; //支付时间
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public int getPay_platform() {
        return pay_platform;
    }

    public void setPay_platform(int pay_platform) {
        this.pay_platform = pay_platform;
    }

    public int getPay_status() {
        return pay_status;
    }

    public void setPay_status(int pay_status) {
        this.pay_status = pay_status;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "PayInfo{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", order_num='" + order_num + '\'' +
                ", pay_platform=" + pay_platform +
                ", pay_status=" + pay_status +
                ", create_time='" + create_time + '\'' +
                ", user=" + user +
                '}';
    }
}
